package com.lex.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lex.data.admin.model.LexCmsRole;
import com.lex.entity.params.RoleListQueryParams;
import com.lex.entity.role.RoleListDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleListMapper {
    //获取平台用户所有角色列表,并且获取角色拥有的菜单列表
    List<RoleListDto> getRoleList(@Param("queryParam") RoleListQueryParams queryParams,
                                  Page<LexCmsRole> RolePage);
}
